<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>住院信息</title>
    <link rel="stylesheet" href="/static/css/layui.min.css">
    <link rel="stylesheet" href="/static/css/normalize.css" type="text/css"/>
    <link rel="stylesheet" href="/static/css/secondary.css" type="text/css"/>
    <script language="javascript" type="text/javascript" src="/static/js/KunyiHTML5.min.js"></script>
    <script language="javascript" type="text/javascript" src="/static/js/Kunyilibrary.js"></script>
</head>
<body >
<header>
    <a class="logo" href="/hospital"><img src="/static/images/logo.png" width="350" height="51"/></a>
</header>
<div class="layui-layout layui-layout-admin">
    <#-- 引入公共导航部分 -->
    <#include "patientMenu.ftl"/>

    <!-- 内容主体区域 -->
    <hr style="magin-top:30px;">
    <a class="layui-btn layui-btn-normal" style="float: right;margin: 10px 300px;" href="/patient/appointment">在线预约</a>
    <table id="table" class="layui-table" lay-even lay-skin="nob" style="width: 60%;margin: 0 auto;clear: both;">
        <colgroup>
            <col width="150">
            <col width="150">
            <col width="150">
            <col width="150">
            <col width="150">
            <col width="150">
            <col width="150">
            <col width="150">
            <col width="300">
            <col>
        </colgroup>
        <thead>
        <tr>
            <th>序号</th>
            <th>姓名</th>
            <th>预约医生</th>
            <th>预约时间</th>
            <th>费用</th>
        </tr>
        </thead>
        <tbody>
        <#list appointmentsList as h>
            <tr>
                <td>${h_index+1}</td>
                <td>${h.patientname!''}</td>
                <td>${h.doctorname!''}</td>
                <td>${(h.time?string("yyyy-MM-dd"))!}</td>
                <td>${h.expenses}</td>
            </tr>
        </#list>
        </tbody>
    </table>
    <div style="height: 400px;"></div>
</div>
<footer>
    <div class="footBase">
        <h3>咨询电话：门诊导医电话 ：1111111 （上午8：00至12:00）（下午14:00至17:00）
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>医院办公室电话：111111（全天）</span></h3>
        <p>主办单位：人民医院 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;东区地址：省市城关解放路64号 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;西区地址：省市商都大道2996号<br/>版权所有：省人民医院
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;备案号：000000 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
        <div class="QRcode"><img src="/static/images/QRcode.jpg" width="104" height="104"><br/>手机扫一扫关注人民医院官方微信</div>
    </div>
</footer>
<script src="/static/js/layui.all.js"></script>
<script src="/static/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript">
    function showHistroy() {
        $("#table").show();
    }
</script>
</body>
</html>